﻿#pragma once
#include <unordered_map>
#include "D3DUtil.h"
#include "d3dx12.h"

class MaterialManager
{
public:
    const std::unordered_map<std::string, std::shared_ptr<Material>>& GetMaterials() const;
    const std::shared_ptr<Material> GetMaterial(const std::string& name);

public:
    virtual void BuildMaterial() = 0;

protected:
    std::unordered_map<std::string, std::shared_ptr<Material>> mMaterials;
};
